- 
		Home
	
 
	- 
Jetpack – WP Security, Backup, Speed, & Growth
 
- 
12.9.1
 
- 
Code
 
- 
Classes
 
-  Dashboard_REST_Controller 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											56 | 
										
																			
											| Dependencies | 
											5 | 
										
																			
											| Dependents | 
											1 | 
										
																	
							 
													
								
																			
											| Total lines | 
											729 | 
										
																			
											| Lines of code | 
											419 | 
										
																			
											| Logical lines of code | 
											114 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											234 | 
										
																			
											| Methods | 
											33 | 
										
																			
											| Properties | 
											1 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 33
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| register_rest_routes() | 
									A  | 
																	29 | 
													2 | 
													213 | 
							
					
				| request_as_user() | 
									S  | 
																	51 | 
													5 | 
													27 | 
							
					
				| get_wp_error() | 
									S  | 
																	58 | 
													4 | 
													15 | 
							
					
				| build_subpath_with_query_strings() | 
									S  | 
																	60 | 
													4 | 
													14 | 
							
					
				| get_blaze_posts() | 
									S  | 
																	60 | 
													3 | 
													14 | 
							
					
				| can_user_view_dsp_callback() | 
									S  | 
																	67 | 
													3 | 
													9 | 
							
					
				| get_dsp_blaze_posts() | 
									S  | 
																	64 | 
													3 | 
													10 | 
							
					
				| edit_dsp_generic() | 
									S  | 
																	59 | 
													2 | 
													15 | 
							
					
				| is_user_connected() | 
									S  | 
																	69 | 
													3 | 
													7 | 
							
					
				| get_dsp_generic() | 
									S  | 
																	60 | 
													2 | 
													14 | 
							
					
				| get_dsp_media() | 
									S  | 
																	68 | 
													2 | 
													7 | 
							
					
				| get_dsp_site_campaigns() | 
									S  | 
																	68 | 
													2 | 
													7 | 
							
					
				| get_dsp_openverse() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| get_dsp_credits() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| get_dsp_experiments() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| get_dsp_campaigns() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| get_dsp_search() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| get_dsp_user() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| get_dsp_templates() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| get_dsp_subscriptions() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| get_dsp_payments() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| get_dsp_smart() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| get_dsp_locations() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| get_dsp_woo() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| get_dsp_image() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| edit_wpcom_checkout() | 
									S  | 
																	78 | 
													1 | 
													3 | 
							
					
				| edit_dsp_campaigns() | 
									S  | 
																	78 | 
													1 | 
													3 | 
							
					
				| edit_dsp_subscriptions() | 
									S  | 
																	78 | 
													1 | 
													3 | 
							
					
				| edit_dsp_payments() | 
									S  | 
																	78 | 
													1 | 
													3 | 
							
					
				| edit_dsp_logs() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| edit_dsp_smart() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| get_forbidden_error() | 
									S  | 
																	68 | 
													1 | 
													7 | 
							
					
				| get_site_id() | 
									S  | 
																	81 | 
													1 | 
													3 |